package com.hippy.erya.db.mapper;

import com.hippy.erya.base.db.entity.DatabaseInfo;
import com.hippy.erya.base.db.model.params.DatabaseInfoParam;
import com.hippy.erya.base.db.model.result.DatabaseInfoResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface DatabaseInfoMapper extends BaseMapper<DatabaseInfo> {


    List<DatabaseInfoResult> customList(@Param("paramCondition") DatabaseInfoParam paramCondition);


    List<Map<String, Object>> customMapList(@Param("paramCondition") DatabaseInfoParam paramCondition);


    Page<DatabaseInfoResult> customPageList(@Param("page") Page page, @Param("paramCondition") DatabaseInfoParam paramCondition);


    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") DatabaseInfoParam paramCondition);

}
